package com.gxa.stu.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 异动申请表
 * </p>
 *
 * @author gxa
 * @since 2022-11-03
 */
@Getter
@Setter
@TableName("tb_change")
@ApiModel(value = "TbChange对象", description = "异动申请表")
public class TbChange implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键,自动增长")
      @TableId(value = "change_id", type = IdType.AUTO)
    private Integer changeId;

    @ApiModelProperty("学员编号")
    private Integer stuId;

    @ApiModelProperty("异动类型")
    private Integer typeId;

    @ApiModelProperty("异动申请的日期")
    private LocalDateTime created;

    @ApiModelProperty("经办人员工编号")
    private Integer mgrId;

    @ApiModelProperty("备注信息,例如重修原因: 跟不上进度，学习吃力")
    private String changeRemark;

    @ApiModelProperty("休学日期")
    private LocalDate suspendDate;

    @ApiModelProperty("复学,重修,转方向时的进班日期")
    private LocalDate joinDate;

    @ApiModelProperty("异动前所在的班级编号")
    private Integer currentClazzId;

    @ApiModelProperty("复学,重修,转方向时的班级编号")
    private Integer newClazzId;

    @ApiModelProperty("异动申请状态:0-未审核,1-方向负责人审核通过 2-教学经理审核通过,3-驳回")
    private Integer changeStatus;

    @ApiModelProperty("方向主管通过时间")
    private LocalDateTime agreeDate1;

    @ApiModelProperty("教学经理通过时间")
    private LocalDateTime agreeDate2;

    @ApiModelProperty("驳回原因")
    private String rejectRemark;

    @ApiModelProperty("驳回日期")
    private LocalDateTime rejectDate;


}
